home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Util / M / MacDOS 3.0.sit / MacDOS 3.0 ƒ / executables / MacDOS 3.0.rsrc / TEXT_140_DIR.txt < prev    next >
Encoding:
Text File  |  1995-04-09  |  1.4 KB  |  31 lines

  1. Lists the items contained in a directory.
  2.  
  3. DIR file [/A[[:]attributes]] [/B] [/C=creator] [/L] [/O[[:]order]]
  4.          [/P] [/S] [/T=file-type] [/W]
  5.  
  6.   file         identifies the file to be listed. It can also be a wildcarded
  7.                filename or a directory name, possibly preceded by a volume
  8.                and path spec.
  9.   /A           lists items with specified attributes (a minus sign as a
  10.                prefix means 'not'):
  11.                   D  Directories
  12.                   F  Files
  13.                   H  Hidden files
  14.                   X  Aliases
  15.   /B           lists item names one per line and without headings (bare format).
  16.   /C=creator   only lists files of the given creator.
  17.   /L           uses lowercase when filtering entries on the basis of wildcards.
  18.   /O           sorts the list with the following ordering options (a minus
  19.                sign as a prefix reverses the order):
  20.                   D  by Date & time of update (older first)
  21.                   G  Group directories first
  22.                   N  by Name (alphabetic)
  23.                   S  by Size (smallest first)
  24.   /P           pauses after each screenful of listing.
  25.   /S           recursive display of all subdirectories of a given directory.
  26.   /T=file-type only lists files of the given file type.
  27.   /W           lists item names in a wide format.
  28.  
  29. Switches may be preset in the DIRCMD environment variable. When preset,
  30. a switch can be overriden by prefixing it in DIR with a minus sign.
  31.